gdouble old_fraction;
gint x, y, width, height;
gint old_x, old_y, old_width, old_height;
+ gboolean was_pulse;
g_return_if_fail (GTK_IS_ENTRY (entry));
widget = GTK_WIDGET (entry);
private = entry->priv;
+ was_pulse = private->progress_pulse_mode;
+
if (private->progress_pulse_mode)
old_fraction = -1;
else
{
get_progress_area (widget, &x, &y, &width, &height);
- if ((x != old_x) || (y != old_y) || (width != old_width) || (height != old_height))
+ if (was_pulse ||
+ x != old_x || y != old_y || width != old_width || height != old_height)
gtk_widget_queue_draw (widget);
}